Jones and Cantarow test - significado y definición. Qué es Jones and Cantarow test
Diclib.com
Diccionario ChatGPT
Ingrese una palabra o frase en cualquier idioma 👆
Idioma:

Traducción y análisis de palabras por inteligencia artificial ChatGPT

En esta página puede obtener un análisis detallado de una palabra o frase, producido utilizando la mejor tecnología de inteligencia artificial hasta la fecha:

  • cómo se usa la palabra
  • frecuencia de uso
  • se utiliza con más frecuencia en el habla oral o escrita
  • opciones de traducción
  • ejemplos de uso (varias frases con traducción)
  • etimología

Qué (quién) es Jones and Cantarow test - definición

Test and test and set; Test and Test-and-set

Jones, Turner and Evans         
BRITISH LOCOMOTIVE MANUFACTURER, ACTIVE 1837–1852
Jones and Potts; John Jones and Son; Jones, Turner & Evans
Jones, Turner and Evans was a locomotive manufacturer in Newton-le-Willows, England from 1837, known as Jones and Potts between 1844 and 1852.
Johnny & Jones         
DUTCH JAZZ DUO
Johnny and Jones; Draft:Johnny and Jones
Johnny & Jones is the name of the Amsterdam jazz-duo Nol (Arnold Siméon) van Wesel (Johnny) (3 August 1918 – 20 March 1945) and Max (Salomon Meyer) Kannewasser (Jones) (24 September 1916 – 15 April 1945).
Jones Plummer Trail         
CATTLE-DROVING TRAIL IN KANSAS, UNITED STATES
Jones and Plummer Trail
The Jones Plummer Trail, also known as the Jones and Plummer Trail, began in Dodge City, Kansas and went southwest through the Oklahoma Panhandle into Texas. Ed Jones and Joe Plummer originally used the path for bringing buffalo meat and hides to Dodge City.

Wikipedia

Test and test-and-set

In computer architecture, the test-and-set CPU instruction (or instruction sequence) is designed to implement mutual exclusion in multiprocessor environments. Although a correct lock can be implemented with test-and-set, the test and test-and-set optimization lowers resource contention caused by bus locking, especially cache coherency protocol overhead on contended locks.

Given a lock:

boolean locked := false // shared lock variable

the entry protocol is:

procedure EnterCritical() {
  do {
    while ( locked == true )
         skip // spin using normal instructions until the lock is free
  } while ( TestAndSet(locked) == true ) // attempt actual atomic locking using the test-and-set instruction
}

and the exit protocol is:

procedure ExitCritical() {
  locked := false
}

The difference to the simple test-and-set protocol is the additional spin-loop (the test in test and test-and-set) at the start of the entry protocol, which utilizes ordinary load instructions. The load in this loop executes with less overhead compared to an atomic operation (resp. a load-exclusive instruction). E.g., on a system utilizing the MESI cache coherency protocol, the cache line being loaded is moved to the Shared state, whereas a test-and-set instruction or a load-exclusive instruction moves it into the Exclusive state.

This is particularly advantageous if multiple processors are contending for the same lock: whereas an atomic instruction or load-exclusive instruction requires a coherency-protocol transaction to give that processor exclusive access to the cache line (causing that line to ping-pong between the involved processors), ordinary loads on a line in Shared state require no protocol transactions at all: processors spinning in the inner loop operate purely locally.

Cache-coherency protocol transactions are used only in the outer loop, after the initial check has ascertained that they have a reasonable likelihood of success.

If the programming language used supports short-circuit evaluation, the entry protocol could be implemented as:

 procedure EnterCritical() {
   while ( locked == true or TestAndSet(locked) == true )
     skip // spin until locked
 }